home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
command
< prev
next >
Wrap
Text File
|
1991-05-03
|
1KB
|
25 lines
COMMAND
Invokes a secondary command processor
See also <SHELL> <CONFIG.SYS>
COMMAND TYPE: External VERSION: 2.0 and up
USE: COMMAND [d:][path][ctty-dev][/P] [/C string][/E:nnnnn]
d: path is the drive and path that DOS will look in for the COMMAND
processor.
ctty-dev allows you to specify a different device (such as AUX) for
input and output.
/P makes the secondary command processor permanent in memory. The
<AUTOEXEC.BAT> file is executed following this command.
/C string passes a string (a DOS command) to the command processor and
then exits automatically.
/E:nnnnn is an integer that specifies the size (in bytes) of the
environment. The acceptable range of nnnnn is from 160 to 32768.
(not available pre DOS 2.x). In DOS 3.1, the size is in paragraphs
(units of 16 bytes). Default size is 160 bytes.
EXAMPLE: COMMAND /C CHKDSK B:
loads a secondary command processor, runs the command <CHKDSK> on drive B
and returns to the original command processor.